libxl: avoid build warning when _libxl_types.h does not initially exist.
authorIan Campbell <ian.campbell@citrix.com>
Thu, 2 Jun 2011 16:25:27 +0000 (17:25 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 2 Jun 2011 16:25:27 +0000 (17:25 +0100)
commitd586037ac3afa593aa0acacd219ce5f978467a9e
tree4d592eb8d40d5b7affe5bcf524dbde4ec342a1ac
parent79e6a12b20e2a9c076309bd8a26e2943d6792e4a
libxl: avoid build warning when _libxl_types.h does not initially exist.

Olaf Hering reports:
if ! cmp _libxl_paths.h.2.tmp _libxl_paths.h; then mv -f _libxl_paths.h.2.tmp _libxl_paths.h; fi
cmp: _libxl_paths.h: No such file or directory

Use "cmp -s" to silence the error. cmp returns 2 in this case and so the mv
does occur.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Tested-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/Makefile